package com.chang.bootplus.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chang.bootplus.entity.StuTest;
import com.chang.bootplus.entity.Student;
import com.chang.bootplus.po.SelectPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chang
 * @since 2022-02-02
 */
public interface StuTestMapper extends BaseMapper<StuTest> {

     List<Student> selectByMatch(String stuId,String schoolName, String gradeId, String username, String classId,String birthday);

     List<Student> selectByMatch2(String stuId,String gradeId, String username, String classId,String birthday);

     List<Student> selectByMatchPage(String stuId,String schoolName, String gradeId, String username, String classId, Integer pageNumber, Integer pageSize,String birthday);

     List<Student> selectByMatchPage2(String stuId,String gradeId, String username, String classId, Integer pageNumber, Integer pageSize,String birthday);


     List<Student> selectByMatchContainStuId(String stuId,String gradeId, String username, String classId, Integer sex, Integer pageNumber, Integer pageSize);

     List<Student> selectByMatchContainStuId2(String stuId,String schoolName, String gradeId, String username, String classId, Integer sex, Integer pageNumber, Integer pageSize);
}
